<link  href="/javascripts/cropper/css/cropper.css" rel="stylesheet">
<link  href="/javascripts/cropper/css/docs.css" rel="stylesheet">
<script src="/javascripts/cropper/js/cropper.js"></script>
<script src="/javascripts/cropper/js/docs.js"></script>
<div style="width: 95%;height: 550px;">
    <div class="fieldContent">
        <div class="eg-wrapper">
            <img class="cropper" src="" alt="原图">
        </div>
        <div class="preview preview-lg"><div style="padding: 8px 0 0 8px;">预览</div></div>
        <div style="clear: both;padding-top: 5px;"></div>
        <a href="#" id="zoomIn" class="easyui-linkbutton" data-options="iconCls:'icon-zoom-in'">放大&nbsp;&nbsp;</a>&nbsp;&nbsp;
        <a href="#" id="zoomOut" class="easyui-linkbutton" data-options="iconCls:'icon-zoom-out'">缩小&nbsp;&nbsp;</a>&nbsp;&nbsp;
        <input id="fpath" class="easyui-textbox" name="fpath" style="width: 26%" disabled/>
        <a href="#" class="easyui-linkbutton" onclick="$('#inputImage').click()" data-options="iconCls:'icon-upload'">请选择&nbsp;&nbsp;</a>
        <span style="padding-left: 25px;"><img id="imgs" src="" style="width: 25%; margin-top: -100px;"/>（当前）</span>
    </div>


    <form id="editBusGoods" method="post" enctype="multipart/form-data">
<!--    <div style="width: 95%;height: 500px">-->
        <input id="inputImage" name="file" type="file" accept="image/*"  style="display:none" /><!--文件上传-->

        <input value="" id="gid" name="gid" type="hidden"/>
        <input value="" id="createtime" name="createtime" type="hidden"/>
        <input value="" id="img" name="img" type="hidden"/>

        <div class="field">
            <label for="gname">商品名称：</label>
        </div>
        <div class="fieldContent">
            <input id="gname" class="easyui-textbox" name="gname" style="width: 55%"/>
        </div>

        <div class="field">
            <label for="price">价格：</label>
        </div>
        <div class="fieldContent">
            <input id="price" class="easyui-textbox" name="price" style="width: 55%"/>
        </div>

        <div class="field">
            <label for="describe">描述：</label>
        </div>
        <div class="fieldContent">
            <input id="describe" class="easyui-textbox" name="describe" style="width: 55%"/>
        </div>

<!--        <div class="field">
            <label for="filePath">商品图片：</label>
        </div>
        <div class="fieldContent">
            <input id="filePath" name="filePath" class="easyui-filebox" style="width: 55%" data-options="prompt:'请选择图片，图片大小限制在200kb以内...'">
            <span id="imgs" style="padding-left: 25px;"></span>
        </div>-->

        <div class="field">
            <label for="cid">城市：</label>
        </div>
        <div class="fieldContent">
            <input class="easyui-combobox" id="cid" name="cid" style="width:55%" value="请选择..."
                   data-options="
                  url: '/getCityList',
                  method: 'get',
                  valueField:'cid',
                  textField:'city',
                  groupField:'province'">
        </div>

        <div class="field">
            <label for="lid">商家名称：</label>
        </div>
        <div class="fieldContent">
            <input class="easyui-combobox" id="lid" name="lid" style="width:55%" value="请选择...">
        </div>

        <div class="field">
            <label for="syid">商品类型：</label>
        </div>
        <div class="fieldContent" style="margin-bottom: 60px;">
            <input name="syid" class="easyui-combobox" id="syid" style="width:55%;"  value="请选择...">
        </div>


        <input id="dataX" name="coords" type="text" placeholder="x" style="display: none"/>
        <input id="dataY" name="coords" type="text" placeholder="y" style="display: none"/>
        <input id="dataWidth" name="coords" type="text" placeholder="width" style="display: none"/>
        <input id="dataHeight" name="coords" type="text" placeholder="height" style="display: none"/>

</form>
</div>
